package com.whminwei.edu.api.dc.client;

import com.whminwei.common.exception.ServiceException;
import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.dc.dto.fspn.tch_base.DcMajorFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 *@author wangy
 *@since 2024/8/9
 */
@FeignClient(name = "xzzg-pt-tch-base-service", contextId = "datacenter-major", configuration = FullHttpRspnConfig.class)
public interface DcTchBaseMajorClient {
    @PostMapping("/datacenter/getMajorList")
    FullHttpResponse<DcMajorFspn> getMajorList() throws ServiceException;
}
